home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / pj64.arc / DC < prev    next >
Text File  |  1988-12-16  |  893b  |  40 lines

  1. ## DC - Windows Digital Clock
  2. # Created by Michael Babcock and Bill Hall
  3. #
  4.  
  5. ## some macros
  6. # no debug compile
  7. cp=cl -d -c -AS -Gw -Ox -Zp
  8.  
  9. # debug compile
  10. cpd=cl -d -c -AS -Gw -Zpd
  11.  
  12. # Microsoft C 5.x compiler with OS2 libraries 
  13. LIBOS2=slibw slibc slibc3 libh/NOD/NOE
  14.  
  15. # Microsoft C 5.x compiler with PM libraries
  16. LIBPM=slibw slibcr libh/NOD/NOE
  17.  
  18. # Microsoft C 5.0 compiler for MS-DOS
  19. LIB5=slibw slibc libh/NOD/NOE
  20.  
  21. # Microsoft C 4.0 compiler for MS-DOS
  22. LIB4=slibw slibc libh/NOD
  23.  
  24. ## make the .RES file
  25. dc.res : dc.rc dc.h
  26.     rc -r dc.rc
  27.  
  28. ## make the .OBJ files
  29. dc.obj : dc.c dc.h
  30.     $(cp) -NT _TEXT dc.c
  31.  
  32. dcinit.obj : dcinit.c dc.h
  33.     $(cp) -NT _INIT dcinit.c
  34.     
  35. ## create the .EXE file, add resources, and make a map file
  36. dc.exe : dc dc.def dc.res dc.obj dcinit.obj
  37.     link4 dc dcinit,dc/align:16,dc/m/li,$(LIBPM),dc
  38.     rc dc.res
  39.     mapsym dc
  40.